<div id ="module-service">
    <div class="module-inner">
        <?php if (!empty($menuChoice)) { ?>
            <div class="module-service-left">
                <p class="service-title"><a style="color:#007dd5" href="<?php echo base_url() . $dataAlias[$menuChoice->id]->alias . '.html'?>" ><?php echo $menuChoice->title; ?></a></p>
                <div class="intro-service-title"><?php echo $menuChoice->introtext; ?></div>
                <nav class="service-link">
                    <ul>
                        <?php
                        if (!empty($objNewChoice)) {
                            foreach ($objNewChoice as $onc) {
                                echo '<li><a href="' . base_url() . $dataAliastt[$onc->id]->alias . '.html" title="' . $onc->title . '" ><span>' . $onc->title . '</span></a></li>';
                            }
                        }
                        ?>
                    </ul>
                </nav>
            </div>
            <?php } ?>
            <?php if (!empty($menuService)) { ?>
            <div class="module-service-right">
    <?php foreach ($menuService as $ms) { ?>
                    <div class="service-div clearfix">
                        <img class="box-images-service" src="<?php echo $ms->image; ?>" alt="<?php echo $ms->alt; ?>"/>
                        <div class="body-section-service">
                            <p><a href="<?php echo base_url() . $dataAlias[$ms->id]->alias . '.html' ?>" title="<?php echo $ms->title; ?>"><?php echo $ms->title; ?></a></p>
                            <ul>
                                <?php
                                if (!empty($arrayNewService[$ms->id])) {
                                    foreach ($arrayNewService[$ms->id] as $arrNS) {
                                        echo '<li><a href="' . base_url() . $dataAliastt[$arrNS->id]->alias . '.html" title="' . $arrNS->title . '">' . $arrNS->title . '</a></li>';
                                    }
                                }
                                ?>
                            </ul>
                        </div>
                    </div>
    <?php } ?>
            </div>
<?php } ?>
    </div>
</div>